'use strict';
	const db = uniCloud.database();
exports.main = async (event, context) => {
	if(!event.phone){
		return {code:400 , message:'添加用户失败'}
	}else{
		let res = await db.collection('phone').add(event)
		return {data:res.data , code:200 , message:"添加用户成功"}
	}
	//访问微信云数据库
	//1.调用获取默认环境的数据库的引用：
};
